package com.tfswx.ocrengine.dto;

import lombok.Data;

import java.util.List;

/**
 * 结构化文本信息
 *
 * @author Ricky
 * @date 2021/1/11
 */
@Data
public class WbxxBean {
    /**
     * hwb : 犯罪嫌疑人张三…
     * hxh : 0
     * dlxh : 0
     * flxh : 0
     * hwbzb : [{"x":365,"y":11},{"x":581,"y":11},{"x":581,"y":33},{"x":365,"y":33}]
     * zfxx : [{"z":"被","g":48,"k":54,"x":520,"y":245},{"z":"取","g":48,"k":54,"x":582,"y":245}]
     */

    /**
     * 行文本
     */
    private String hwb;
    /**
     * 行序号
     */
    private int hxh;
    /**
     * 段落序号
     */
    private int dlxh;
    /**
     * 分栏序号
     */
    private int flxh;
    /**
     * 行文本坐标
     */
    private List<HwbzbBean> hwbzb;
    /**
     * 行字符信息 按行内字符顺序组成有序数组
     */
    private List<ZfxxBean> zfxx;
}
